package com.xhlj.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * @TableName conference
 */
@TableName(value = "conference")
@Data
public class Conference implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer conferenceId;

    /**
     *
     */
    private String conferenceTitle;

    /**
     *
     */
    private String conferenceDescription;

    /**
     *
     */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date conferenceDate;

    /**
     *
     */
    private String location;

    /**
     *
     */
    private String conferenceTags;

    /**
     *
     */
    private Integer likes;

    /**
     *
     */
    private Integer views;

    /**
     *
     */
    private String mediaResourceUrl;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private List<Agenda> agendaList;

}